package code.adapter.jackAdapter02;

//球员类。
public abstract class Player {
    public Player(String name) {
        this.name = name;
    }

    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void Attack();

    public abstract void Defense();



}
